ArrowHead

open class ArrowHead

Class capable of drawing an arrow head. See ArrowIcon for more information. Note that the color or opacity of the arrow head (or antialiasing, etc.) is not defined by this class, it simply draws the polygon and fills it if requested.

Author

Kevin Menningen

Constructors

Link copied to clipboard
constructor(lineStart: Point2D, lineEnd: Point2D, width: Double, height: Double, filled: Boolean)
Constructor to allow immutability.

Functions

Link copied to clipboard
open fun draw(g: Graphics2D)